package com.dianpingmedia.simulate.model;


import java.util.List;

public class SimulateArrayResponse<T> {

    private Integer errorCode;
    private String message;
    private List<T> data;

    public SimulateArrayResponse() {

    }

    public SimulateArrayResponse(Integer errorCode) {
        this.errorCode = errorCode;
    }

    public SimulateArrayResponse(Integer errorCode, String message) {
        this.errorCode = errorCode;
        this.message = message;
    }

    public Integer getErrorCode() {
        return errorCode;
    }

    public SimulateArrayResponse<T> setErrorCode(Integer errorCode) {
        this.errorCode = errorCode;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public SimulateArrayResponse<T> setMessage(String message) {
        this.message = message;
        return this;
    }

    public List<T> getData() {
        return data;
    }

    public SimulateArrayResponse<T> setData(List<T> data) {
        this.data = data;
        return this;
    }
}
